package com.ruoyi.appointment.enums;

public enum AppointmentStatusEnum {
    ARRIVALING("预约中"), //预约中
    ARRIVAL("已到店"),    //已到店
    CANCEL("取消"),     //取消
    TIMEOUTCANCEL("超时取消"),  //超时取消
    STATEMENT("已结算"),   //已结算
    PAID("以支付");   //已支付
    private  String name;

    AppointmentStatusEnum(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        AppointmentStatusEnum appointmentStatusEnum=AppointmentStatusEnum.ARRIVALING;
        System.out.println(appointmentStatusEnum.ordinal());
        System.out.println(appointmentStatusEnum.name);
        System.out.println(appointmentStatusEnum.getName());
    }
}
